package com.youkeyi.ddy.cloud.common.api.basic.hr.employee.position;

import com.youkeyi.ddy.cloud.common.api.basic.hr.employee.position.dto.HrEmployeePositionHistoryListCloudDto;
import com.youkeyi.ddy.cloud.common.api.basic.hr.employee.position.param.HrEmployeePositionHistoryCreateCloudParam;
import com.youkeyi.ddy.cloud.common.api.basic.hr.employee.position.param.HrEmployeePositionHistoryDeleteCloudParam;
import com.youkeyi.ddy.cloud.common.api.basic.hr.employee.position.param.HrEmployeePositionHistoryQueryCloudParam;
import com.youkeyi.ddy.cloud.common.api.basic.hr.employee.position.param.HrEmployeePositionHistoryUpdateCloudParam;
import com.youkeyi.ddy.cloud.common.response.ResponseContent;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * HrEmployeePositionHistoryCloudServiceFallback
 *
 * @author  liuxiawang
 * @Date 2024/2/19 2:32 PM
 * @Location shenzhen.china
 */
@Component
@RequestMapping("/hr/employee/position/history/fallback")
public class HrEmployeePositionHistoryCloudServiceFallback implements HrEmployeePositionHistoryCloudService {

    @Override
    public HrEmployeePositionHistoryListCloudDto query(HrEmployeePositionHistoryQueryCloudParam param) {
        return new HrEmployeePositionHistoryListCloudDto(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent create(HrEmployeePositionHistoryCreateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent update(HrEmployeePositionHistoryUpdateCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }

    @Override
    public ResponseContent delete(HrEmployeePositionHistoryDeleteCloudParam param) {
        return new ResponseContent(Boolean.FALSE, "服务不可用");
    }
}
